﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Basis.ViewInterface;

namespace Tanmia.Basis.Concretes
{
    public class WaitingCursor : IDisposable
    {
        private IShellView shellView;

        public WaitingCursor(IShellView shellView)
        {
            this.shellView = shellView;

            shellView.ShowWaitCursor(true);
        }
        public void Dispose()
        {
            shellView.ShowWaitCursor(false);
        }
    }
}
